﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="apple-mobile-web-app-title" content="思路广惠">
		<title>个人中心</title>
		<meta content="telephone=no" name="format-detection" />
		<link href="//cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="../../src/css/base.css?1.0" />
	</head>

	<body class="body-bg">
		<header class="header">
			<a href="setup.html" class="head-le">设置</a>
			<div class="header-txt"></div>
		</header>
		<section>
			<div class="person">
				<div class="pad1rem">
					<p class="persons-p">
						<img class="persons-img" id="headUrl" src="" />
					</p>
					<p class="persons-p membersinto"></p>
					<p class="persons-p"> <i class="iconfont icon-VIPzhang huef36" ></i> <span class="membersinto"></span></p>
				</div>

				<!-- Swiper -->
				<div class="swiper-container">
					<div class="swiper-wrapper">
						<div class="swiper-slide">
							<div class="slider">
								<h1 class="slider-h1"> 现金积分 </h1>
								<p>￥<span class="membersinto"></span></p>
								<time>最近更新时间：<span></span> </time>
							</div>
						</div>
						<div class="swiper-slide">
							<div class="slider">
								<h1 class="slider-h1">消费积分</h1>
								<p>￥<span class="membersinto"></span></p>
								<time>最近更新时间：<span></span></time>
							</div>
						</div>
						<div class="swiper-slide">
							<div class="slider">
								<h1 class="slider-h1">丝路积分 </h1>
								<p>￥<span class="membersinto"></span></p>
								<time>最近更新时间：<span></span></time>
							</div>
						</div>
					</div>
				</div>
				<div class="persons top1rem flexs pad1rem">
					<a href="orderclass.html?flag=0" class="persons-a">
						<img class="persons-aimg" src="../../src/images/icon_fanhuandingdan@2x.png" />
						<p>现金订单</p>
					</a>
					<a href="orderclass.html?flag=1" class="persons-a">
						<img class="persons-aimg" src="../../src/images/icon_jifendingdan@2x.png" />
						<p>积分订单 </p>
					</a>
					<a href="orderclass.html?flag=2" class="persons-a">
						<img class="persons-aimg" src="../../src/images/icon_xianxiadingdan@2x.png" />
						<p>线下订单 </p>
					</a>
					<a href="orderclass.html?flag=3" class="persons-a">
						<img class="persons-aimg" src="../../src/images/icon_fanxiandingdan@2x.png" />
						<p>返现订单</p>
					</a>
					<a href="orderclass.html?flag=4" class="persons-a">
						<img class="persons-aimg" src="../../src/images/icon_tuihuodingdan@3x.png" />
						<p>退货订单</p>
					</a>
				</div>
			</div>
			<div class="persons-grids">
				<h1 class="pad1rem">常用工具</h1>
				<div class="persons-grid flexs">
					<a href="memberup.html" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_huiyuanshengji@2x.png" />
						<p>会员升级</p>
					</a>
					<a href="promote.html?flag=0" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_huiyuantuiguang@2x.png" />
						<p>会员推广</p>
					</a>
					<a href="promote.html?flag=1" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_shangjiatuiguang@2x.png" />
						<p>商家推广</p>
					</a>
					<a href="#" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_tuiguangshouyi@2x.png" />
						<p>推广收益</p>
					</a>
					<a href="pointsum.html?flag=0" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon-_jifentixian@2x.png" />
						<p>积分提现</p>
					</a>
					<a href="pointsum.html?flag=1" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_jifenchongzhi@2x.png" />
						<p>积分充值</p>
					</a>
					<a href="pointwater.html" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_jifenliushui@2x.png" />
						<p>积分流水</p>
					</a>
					<a href="centercode.html" class="persons-ga">
						<img class="persons-gimg" src="../../src/images/icon_erweima@2x.png" />
						<p>二维码</p>
					</a>
				</div>
			</div>
		</section>

		<!--底部导航 -->
		<div class="bottom-nav">
			<div class="sc-box">
				<a href="../home/homeintegral.html?type=2"><img src="../../src/images/button_jifenshangcheng.png" /></a>
				<a href="../home/homeoffline.html?type=2"><img src="../../src/images/button_xianxiashangcheng.png" /></a>
			</div>
			<footer class="centre flexs-al setup-u">
				<a class="flex1" href="../home/index.html?type=0">
					<i class="iconfont icon-five"></i>
					<p>首页</p>
				</a>
				<a class="flex1"  href="../home/homeclassify.html?type=1">
					<i class="iconfont icon-one"></i>
					<p>分类</p>
				</a>
				<a class="flex1"  href="javascript:void(0)" id="slicksShop" index=0>
					<div class="switch">
						<img src="../../src/images/button_close.png" />
					</div>
					<div class="switch">
						<i class="iconfont icon-four"></i>
						<p>丝路商城</p>
					</div>
				</a>
				<a class="flex1"  href="../order/index.html?type=3">
					<i class="iconfont icon-three"></i>
					<p>购物车</p>
				</a>
				<a class="flex1"  href="index.html?type=4">
					<i class="iconfont icon-anonymity"></i>
					<p>我的</p>
				</a>
			</footer>
		</div>
		<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>

		<script src="../../src/js/all.js" type="text/javascript" charset="utf-8"></script>
		<script src="//cdn.bootcss.com/Swiper/3.4.2/js/swiper.min.js"></script>
		<script>
			silks.fooChoo(); // 商城选择点击
			var swiper = new Swiper('.swiper-container', {
				pagination: '.swiper-pagination',
				slidesPerView: 2,
				paginationClickable: true,
				spaceBetween: 30,
				freeMode: true
			});
		</script>
		<script>
			!MembersID && (location.replace("../login/index.html?backurl=" + location.pathname));

			$.get(urls + "/WorkMembers/GetMembersInfo", {
				MembersID: MembersID,
				AppID: AppID,
				Token: Token
			}, function(res) {
				if(res.Return_ID == 0) {
					console.log(res)
					sessionStorage.MembersInfo = res;

					var res = res.Return_Data;
					silks.setAssign([
						res.Members_Name,
						res.Level_Name,
						res.Members_CashCoin,
						res.Members_TradeCoin,
						res.Members_Points
					], ".membersinto");

					$("time span").html(new Date().toLocaleString());

					$("#headUrl").attr("src", smallimgurl + res.Head_Url);

				} else if(res.Return_ID == 904) {
					location.replace("../login/index.html?backurl=" + location.pathname);
				}
 

			});
		</script>

	</body>

</html>